# C.O.R.E. v0.7 transition to CSV completed
#################
# Manpower: WAR #
#################

event = { 
	id = 402000
	random = no
	country = CAN

	trigger = {
		atwar = yes
		}

	name = CEVTNAME_402000
	desc = CEVTDESC_402000
	style = 0

	date = { day = 1 month = january year = 1936 } 
	offset = 10
	deathdate = { day = 30 month = december year = 1947 } 

	action_a = {
			name = CEVTACTA_402000
			command = { type = manpowerpool value = 130 }
			command = { type = province_manpower which = 2199   value = 6 } #Toronto
			command = { type = province_manpower which = 128   value = 4 } #Ottawa
			command = { type = province_manpower which = 136   value = 4 } #Winnipeg
			command = { type = province_manpower which = 100   value = 2 } #Victoria (CAN)
			command = { type = province_manpower which = 149   value = 4 } #Montreal
			command = { type = province_manpower which = 153   value = 6 } #Halifax
			command = { type = province_manpower which = 107   value = 4 } #Calgary
			command = { type = province_manpower which = 154   value = 2 } #Quebec
			command = { type = province_manpower which = 108   value = 6 } #Regina
			command = { type = province_manpower which = 4   value = 2 } #Vancouver
		}
}


#########################
# Manpower: Paris Falls #
#########################

event = { 
	id = 402001
	random = no
	country = CAN

	trigger = {
		atwar = yes
		control = { province = 527 data = GER } #Paris
	}

	name = CEVTNAME_402001
	desc = CEVTDESC_402001
	style = 0

	date = { day = 1 month = january year = 1937 } 
	offset = 10
	deathdate = { day = 30 month = december year = 1947 } 

	action_a = {
			name = CEVTACTA_402001
			command = { type = manpowerpool value = 60 }
		}
}

##########################
# Manpower: Conscription #
##########################

event = { 
	id = 402002
	random = no
	country = CAN

	trigger = {
		atwar = yes
		OR = {
			headofgovernment = 45002 # Mackenzie King - 36
			headofgovernment = 45019 # Mackenzie King - 40
			headofgovernment = 45027 # Mackenzie King - 44
			}
		random = 30
		}

	name = CEVTNAME_402002
	desc = CEVTDESC_402002
	style = 0

	date = { day = 1 month = january year = 1936 } 
	offset = 100 # event fires 1 year after war is declared
	deathdate = { day = 30 month = december year = 1947 } 

	action_a = {
			name = CEVTACTA_402002
			command = { type = manpowerpool value = 80 }
			command = { type = dissent value = 5 }
		}
	action_b = {
			name = CEVTACTB_402002
			command = { type = dissent value = -5 }
		}
}

#######################################
# Units: RN to RCN Destroyer Transfer #
#######################################

event = { 
	id = 402003
	random = no
	country = CAN

	trigger = {
		atwar = yes
		random = 50
		}

	name = CEVTNAME_402003
	desc = CEVTDESC_402003
	style = 0

	date = { day = 1 month = january year = 1943 } 
	offset = 45 # event fires 4 years after war is declared
	deathdate = { day = 30 month = december year = 1947 } 

	action_a = {
			name = CEVTACTA_402003
			command = { type = add_division which = destroyer }
		}
}

######################################
# Political: US Commitment to Canada #
######################################

event = { 
	id = 402004
	random = no
	country = CAN

	# triggered by USA 322002

	name = CEVTNAME_402004
	desc = CEVTDESC_402004
	style = 0

	action_a = {
			name = CEVTACTA_402004
			command = { type = dissent value = -5 }
			command = { type = access which = USA } 
		}
}

###############################
# Political: War Measures Act #
###############################

event = { 
	id = 402005
	random = no
	country = CAN

	trigger = {
		atwar = yes
		OR = {
			headofgovernment = 45002 # Mackenzie King - 36
			headofgovernment = 45019 # Mackenzie King - 40
			headofgovernment = 45027 # Mackenzie King - 44
			}
		}

	name = CEVTNAME_402005
	desc = CEVTDESC_402005
	style = 0

	date = { day = 1 month = january year = 1936 } 
	offset = 350 # event fires 1 year after war is declared
	deathdate = { day = 30 month = december year = 1947 } 

	action_a = {
			name = CEVTACTA_402005
			command = { type = dissent value = 5 }
	}
	action_b = {
			name = CEVTACTB_402005
			command = { type = research_sabotaged }
	}
}

#####################################
# Political: McNaughton vs. Ralston #
#####################################

event = { 
	id = 402006
	random = no
	country = CAN

	trigger = {
		atwar = yes
		minister = 45057 # James Ralston
		random = 50
		}

	name = CEVTNAME_402006
	desc = CEVTDESC_402006
	style = 0

	date = { day = 1 month = january year = 1943 } 
	offset = 60 # event fires 4 years after war is declared
	deathdate = { day = 30 month = december year = 1947 } 

	action_a = {
			name = CEVTACTA_402006
			command = { type = sleepleader which = 52044 } # McNaughton
		}
	action_b = {
			name = CEVTACTB_402006
			command = { type = sleepminister which = 45057 } # James Ralston
			command = { type = dissent value = 1 }
		}
}

############################
# Political: Igor Gouzenko #
############################

event = { 
	id = 402007
	random = no
	country = CAN

	trigger = {
		random = 50
		}

	name = CEVTNAME_402007
	desc = CEVTDESC_402007
	style = 0

	date = { day = 1 month = january year = 1945 } 
	offset = 50
	deathdate = { day = 30 month = december year = 1947 } 

	action_a = {
			name = CEVTACTA_402007
			command = { type = dissent value = -10 }
		}
}

#################################
# Infrastructure: Coastal Forts #
#################################

event = { 
	id = 402008
	random = no
	country = CAN

	trigger = {
		atwar = yes
		random = 60
	}

	name = CEVTNAME_402008
	desc = CEVTDESC_402008
	style = 0

	date = { day = 1 month = january year = 1936 } 
	offset = 20 # not inmediately
	deathdate = { day = 30 month = december year = 1947 } 

	action_a = {
			name = CEVTACTA_402008
			command = { type = coastal_fort which = 153 value = 2 } # Halifax
			command = { type = coastal_fort which = 100 value = 2 } # Vancouver Island
		}
}

##################################
# ask permission to send volunteers to Finland (by Ghost_dk)
##################################

event = {
	id = 402009
	random = no
	country = CAN

	trigger = {
		event = 2621
		event = 1002086
		war = { country = FIN country = SOV }
		NOT = {
			atwar = yes
			event = 2628
		}
	}

	name = CEVTNAME_402009
	desc = CEVTDESC_402009
	style = 0

	date = { day = 15 month = september year = 1939 }
	offset = 15
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_402009
		command = { }
	}
	action_b = {
		name = "No"
		command = { }
	}
}

####################################
# Answer request to send volunteers (by Ghost_dk)
####################################

event = { 
	id = 402010
	random = no
	country = CAN

	# triggered by ENG 272089 

	name = CEVTNAME_402010
	desc = CEVTDESC_402010
	style = 0

	date = { day = 30 month = august year = 1939 }
	offset = 30
	deathdate = { day = 30 month = december year = 1947 }

	action_a = {
		name = CEVTACTA_402010
		command = { type = manpowerpool value = -10 }
		command = { type = trigger which = 1002106 }
		command = { type = alignment which = democratic value = 10 }
		}
}



####################
#UK consults Canada
####################

event = {
	id = 402011
	random = no
	country = CAN

	#triggered by UK272108-Abdication crisis

	name = CEVTNAME_402011
	desc = CEVTDESC_402011
	style = 0

	action_a = {
		name = CEVTACTA_402011
		command = { type = dissent value = -2 }
		}

	}



######################
#Edward Abdicates-CAN
######################

event = {
	id = 402012
	random = no
	country = CAN

	#triggered bu UK272110A

	name = CEVTNAME_402012
	desc = CEVTDESC_402012
	style = 0

	action_a = {
		name = CEVTACTA_402012
		command = { type = dissent value = -2 }
		command = { type = alignment which = democratic value = 10 }
		command = { type = influence value = 2 }
		}

	}

########################
#Simpson as consort-CAN
########################

event = {
	id = 402013
	random = no
	country = CAN

	#triggered by UK272110B

	name = CEVTNAME_402013
	desc = CEVTDESC_402013
	style = 0

	action_a = {
		name = CEVTACTA_402013
		command = { type = dissent value = 2 }
		command = { type = alignment which = fascist value = 10 }
		}

	}


#######################
#Simpson as Queen -CAN
#######################

event = {
	id = 402014
	random = no
	country = CAN

	#triggered by UK272110C

	name = CEVTNAME_402014
	desc = CEVTDESC_402014
	style = 0

	action_a = {
		name = CEVTACTA_402014
		command = { type = dissent value = 5 }
		command = { type = alignment which = fascist value = 15 }
		command = { type = alignment which = democratic value = -5 }
		command = { type = influence value = -2 }
		}

	}

#################################
# 402015 (CAN)Automobile workers strike(by Ghost_dk)
#################################

event = { 
	id = 402015
	random = no
	country = CAN

	trigger = { 
		government = democratic
		atwar = no
		}
	name = CEVTNAME_402015
	desc = CEVTDESC_402015
	style = 0

	date = { day = 15 month = april year = 1939 }

	action_a = {
		name = CEVTACTA_402015
		command = { type = dissent value = 1 }
		command = { type = supplies value = -300 }
		}
	action_b = {
		name = CEVTACTB_402015
		command = { type = supplies value = -600 }
		}
	action_c = {
		name = CEVTACTC_402015
		command = { type = dissent value = 3 }
		command = { type = supplies value = -150 }
		}
}
#############################
# 402016 (CAN)Anglo-Canadian-U.S. Trade agreement(by Ghost_dk)
#############################

event = {
	id = 402016
	random = no
	country = CAN

	trigger = { 
		NOT = {
			atwar = USA
			atwar = CAN
			atwar = ENG
			alliance = { country = USA country = GER }
			alliance = { country = USA country = SOV }
			}
		}
	name = CEVTNAME_402016
	desc = CEVTDESC_402016
	style = 0

	date = { day = 16 month = november year = 1938 }

	action_a = {
		name = CEVTACTA_402016
		command = { type = industry which = -1 value = 1 }
		command = { type = industry which = -1 value = 1 }
		command = { type = industry which = -1 value = 1 }
		}
}
#############################
# 402017 (CAN)British Royal visit to Canada(by Ghost_dk)'
#############################

event = {
	id = 402017
	random = no
	country = CAN

	# triggered by ENG 272138

	name = CEVTNAME_402017
	desc = CEVTDESC_402017
	style = 0

	action_a = {
		name = CEVTACTA_402017
		command = { type = dissent value = -2 }
		command = { type = supplies value = -75 }
		}
}
###############################
# 402018 (CAN)Churchill visits Canada(by Ghost_dk)
###############################

event = {
	id = 402018
	random = no
	country = CAN

	# triggered by ENG 272144 

	name = CEVTNAME_402018
	desc = CEVTDESC_402018
	style = 0

	action_a = {
		name = CEVTACTA_402018
		command = { type = alignment which = democratic value = 15 }
		command = { type = dissent value = -2 }
		}
}

####################################################
# The British Commonwealth Air Training Plan (CAN) #
####################################################

event = { 
	id = 402019
	random = no 
	country = CAN

	trigger = { 
	event = 402000 # Canada goes to war
	}

	name = CEVTNAME_402019
	desc = CEVTDESC_402019
	style = 0 

	date = { day = 1 month = january year = 1938 }
	offset = 1
	deathdate = { day = 30 month = december year = 1942 }

	action_a = { 
		name = CEVTACTA_402019
			command = { type = manpowerpool value = -80 } #Canadians in B.C.A.T.P.
			command = { type = oilpool value = -1000 }
			command = { type = supplies value = -2000 }
			command = { type = industry which = 2199 value = -1 } # Toronto, resources used to maintain air training fields
			command = { type = industry which = 128 value = -1 }  # Ottawa, resources used to maintain air training fields
			command = { type = industry which = 149 value = -1 }  # Montreal, resources used to maintain air training fields
			command = { type = gain_tech which = 12200 } # Early War Air Experience
			command = { type = gain_tech which = 12201 } # Combat Training Team Doctrine
	}

	action_b = { 
		name = CEVTACTB_402019
			command = { }
	}
}